home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
master
/
Examples
/
Count
/
count.c
next >
Wrap
C/C++ Source or Header
|
1994-02-01
|
217b
|
22 lines
/*
* COUNT.C
*/
#include <stdio.h>
main(ac, av)
char *av[];
{
long i;
if (ac == 1) {
puts("count <startvalue>");
exit(1);
}
for (i = atoi(av[1]); i; --i)
printf("%d\n", i);
return(0);
}